package com.sc.nft.entity.vo.mall;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 订单创建返回
 *
 * @Author：LiGen
 * @Package：com.sc.nft.entity.vo.mall
 * @Project：sc_metago
 * @name：MiniMallOrderConfirmVO
 * @Date：2024/5/16 15:30
 * @Filename：MiniMallOrderConfirmVO
 */
@Data
public class MiniMallOrderConfirmVO {

    @ApiModelProperty(value = "订单Id列表")
    private List<Long> orderIds;

    public static MiniMallOrderConfirmVO build(List<Long> orderIds){
        MiniMallOrderConfirmVO miniMallOrderConfirmVO = new MiniMallOrderConfirmVO();
        miniMallOrderConfirmVO.setOrderIds(orderIds);
        return miniMallOrderConfirmVO;
    }
}
